package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	Userid int     `gorm:"type:int(11);not null;"`
	Name   string  `gorm:"type:varchar(30);not null;"`
	Img    string  `gorm:"type:varchar(255);not null;"`
	Price  float64 `gorm:"type:decimal(10,2);not null;"`
	Title  string  `gorm:"type:varchar(50);not null;"`
	Area   string  `gorm:"type:varchar(100);not null;"`
}
